import React from 'react'
import './index.css'
import Header from '../index/component/header';
import Footer from '../index/component/bottom';
import Searchbar  from '../index/component/searchbar';
import {useNavigate} from 'react-router-dom'
import img1 from '../img/6.png'
export default function index() {
    const navigate = useNavigate()
  return (
    <div className='index'>
         <Header></Header>
     <Searchbar></Searchbar>

     <div className='cheng-content'>
        <img src={img1} alt="" />
        <h2>支付成功</h2>
        <p>我们会尽快安排发货，请注意货运信息，<span
        onClick={()=>{
            navigate('/csc_account/csc_order')
        }}
        >查看订单</span></p>
        <button onClick={()=>{
            navigate('/fan/list')
        }}>继续购物</button>
     </div>
     <Footer></Footer>
    </div>
  )
}
